'''
Created on 03/04/2011

@author: carlos
'''

class Playlist(object):
    '''
    classdocs
    '''


    def __init__(self, id, name, icon):
        '''
        Constructor
        '''
        self.id = id
        self.name = name
        self.icon = icon
        
    def toJson(self):
        return '{"id": "%s", "name": "%s"}' % (self.id, self.name)
        